package cn.lopr.im.android.mvp.view.activities;

import android.view.View;

import cn.lopr.im.android.bean.ArticleCommentVo;
import cn.lopr.im.android.common.app.Activity;
import cn.lopr.im.android.databinding.ActivityCommentDetailBinding;
import cn.lopr.im.android.mvp.contact.ICommentDetailContact;

public class CommentDetailActivity extends Activity implements ICommentDetailContact.ICommentDetailPresenter {
    ActivityCommentDetailBinding binding;
    private String commentId;

    @Override
    protected View getContentLayoutId() {
        binding = ActivityCommentDetailBinding.inflate(getLayoutInflater());
        return binding.getRoot();
    }

    @Override
    protected void initWidget() {
        super.initWidget();
        this.binding.ivBack.setOnClickListener(e -> this.finish());
        //this.binding.
    }

    @Override
    protected void initData() {
        super.initData();
        this.commentId = getIntent().getStringExtra("commentId");


    }

    @Override
    public String getCommentId() {
        return this.commentId;
    }

    @Override
    public void getCommentSuccess(ArticleCommentVo articleCommentVo) {

    }
}